/*
 * @Author       : Thyssen Wen
 * @Date         : 2022-09-05 14:14:49
 * @LastEditors  : Thyssen Wen
 * @LastEditTime : 2022-09-06 09:15:41
 * @Description  : Iterator Head File
 * @FilePath     : /cdesign-pattern/Iterator/Iterator.h
 */
#pragma once

template<class Item>
class Iterator
{
public:
    Iterator() {};
    virtual ~Iterator() {};

    virtual bool hasNext() = 0;
    virtual Item *next() = 0;
};
